package com.zhrj.exam.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhrj.exam.entity.ZhrjAlarmInfo;
import com.zhrj.exam.entity.ZhrjAlarmInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 事件表 Mapper 接口
 * </p>
 *
 * @author zhrj
 * @since 2023-03-14
 */
@Mapper
public interface ZhrjAlarmInfoMapper extends BaseMapper<ZhrjAlarmInfo> {



    /*** 获取用户信息（SQL查询分页）** @param page 分页条件* @return*/
    Page<ZhrjAlarmInfoVo> getUserListBySQLPage(Page<ZhrjAlarmInfoVo> page);

    List<ZhrjAlarmInfoVo> getList(String eventReasons);

}
